xen/grant_table: Rework the prototype of _set_status* for lisibility
authorJulien Grall <julien.grall@arm.com>
Mon, 29 Apr 2019 14:05:17 +0000 (15:05 +0100)
committerJulien Grall <julien.grall@arm.com>
Fri, 14 Jun 2019 13:38:40 +0000 (14:38 +0100)
commit8f634214fb88239f49a63fd1e980b0b0a3db82b5
tree78cec7cb6b11d2264bb61e87329628c0d6c0b5e0
parentca73ac8e7d36135c21bb9277e2da494a4bc980ab
xen/grant_table: Rework the prototype of _set_status* for lisibility

It is not clear from the parameters name whether domid and gt_version
correspond to the local or remote domain. A follow-up patch will make
them more confusing.

So rename domid (resp. gt_version) to ldomid (resp. rgt_version). At
the same time re-order the parameters to hopefully make it more
readable.

This is part of XSA-295.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/common/grant_table.c